
<div id="news_detail_wrapper">
<div id="news_detail_act">Carte fidélité</div>
<table  width="100%"  >
    <?php foreach ($detail_card_vip as $card): ?>
    <?php
        $image_card = './seatting-falin/assets/text_img/images/' . $card['image'];
        if (file_exists($image_card) && $card['image'] != null) {
            $image_card = base_url() . 'seatting-falin/assets/text_img/images/' . $card['image'];
        } else {
            $image_card = base_url() . 'assets/noimage.gif';
        }
    ?>
        <tr>
            <td align="center" width="210px"><img width="200px" alt="" src="<?php echo $image_card; ?>"></td>
            <td valign="top"><?php echo $card['content']; ?></td>
        </tr>
    <?php endforeach; ?>
</table>
</div>
